class DashboardController < ApplicationController

  sidebar :deposits, :if => :logged_in?
  sidebar :ajax_module_balans, :if => :logged_in?
  helper :all

  def index
    @latest_declarations = Declaration.find_latest
    @latest_confirmed_deposits = Deposit.find_all_by_confirmed(true, :limit => 5, :order => 'updated_at DESC, created_at DESC')

    render :action => 'index'
  end
  
  def list
    
  end
  
end
